package pers.liuchengyin.pojo;

import lombok.Data;

import java.util.List;

/**
 * @ClassName SearchParam
 * @Description
 * @Author 柳成荫
 * @Date 2022/3/27
 */
@Data
public class SearchParam {
    /** 匹配关键字 - KeyWord */
    private String keyword;
    /** 分类Id */
    private Long categoryId;
    /**
     * 排序条件
     * sort = saleNum_asc/desc
     * sort = price_asc/desc
     * sort = hotScore_asc/desc
     *  */
    private String sort;

    /**
     * 是否有货
     */
    private Boolean hasStock;

    /**
     * 价格区间
     * 1_500  _500   500_
     * */
    private String price;

    /** 品牌Id */
    private List<Long> brandId;

    /**
     * 属性
     * 属性ID_属性值1:属性值2
     * 1_5寸:8寸
     * */
    private List<String> specs;

    /**
     * 页码
     */
    private Integer pageNum = 1;
    private Integer pageSize = 5;
}
